package com.suray.wcs.service.system.service;

import com.suray.wcs.service.pojo.BaseEum;
import com.suray.wcs.service.system.bo.PageBO;
import com.suray.wcs.service.system.bo.PageResultBO;
import com.suray.wcs.service.system.bo.SingleRuleBO;
import com.suray.wcs.service.system.entity.SingleRuleDB;

import java.util.List;

public interface ISingleRuleService {

    List<SingleRuleDB> getSingleRuleList(SingleRuleDB singleRuleDB);

    List<BaseEum> getSingleRuleDirectionList();

    SingleRuleBO addSingleRule(SingleRuleBO singleRuleBO);

    SingleRuleBO updateSingleRule(SingleRuleBO singleRuleBO);

    void deleteSingleRule(List<Integer> ids);

    void applySingleRule(List<Integer> ids);

    PageResultBO<SingleRuleBO> getSingleRuleInfo(Integer ruleId);
}
